<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<jsp:include page="/base.jsp" />
<meta charset="UTF-8">
<meta name="author" content="order by dede58.com" />
<title>小米商城-个人中心</title>
<link rel="stylesheet" type="text/css" href="mall/css/style.css">
</head>
<body>
	<!-- start header -->
	<%@ include file="top.jsp"%>


	<!--end header -->
	<%@ include file="header.jsp"%>
	<!--end header -->
	<!-- start banner_x -->

	<!-- end banner_x -->
	<!-- self_info -->
	<div class="grzxbj">
		<div class="selfinfo center">
			<%@ include file="left.jsp"%>
			<div class="rtcont fr">
				<div class="ddzxbt">交易订单</div>
				<c:forEach items="${addressList}" var="addressList">
					<div class="ddxq">
						<div class="ddbh fl">地址:${addressList.provinceName}${addressList.cityName}${addressList.areaName}${addressList.detaAddress}</div>
						<div class="ztxx fr">
							<ul>
								<li>邮编:${addressList.postCode}</li>
								<li>电话${addressList.rePhone}</li>
								<c:if test="${addressList.isDefault==1}">
								<li style="color:red">默认</li>
								</c:if>
									<c:if test="${addressList.isDefault!=1}">
								<li>默认</li>
								</c:if>
								<li><a href="shop/isDefault?rowId=${addressList.rowId}">设为默认</a> <a
									href="shop/doDelete?rowId=${addressList.rowId}">删除</a></li>
								<div class="clear"></div>
							</ul>
						</div>
						<div class="clear"></div>
					</div>
				</c:forEach>

			</div>
			<div class="clear"></div>
		</div>
	</div>
	<!-- self_info -->

	<%@ include file="foot.jsp"%>
</body>
</html>